package test.design_pattern.adapter;

/** 
* Created by IntelliJ IDEA. 
* User: leizhimin 
* Date: 2008-8-2 15:00:31 
* 客户端 
*/ 
public class Client { 
    public static void main(String rags[]) { 
        new Client().test(); 
    } 

    public void test() { 
        Target target = new Adapter(); 
        int v1 = target.get110v(); 
        int v2 = target.get220v(); 
        System.out.println(v1);
        System.out.println(v2);
    } 
}